package com.googlecode.monitoria.server.command;

import com.googlecode.monitoria.client.to.UserTO;

/**
 * Monitoria's available commands.
 * @author Ricardo Ara&uacute;jo Santos - ricardo@lsd.ufcg.edu.br
 */
public interface MonitoriaCommands {
	
	/**
	 * Creates a new teacher in the system with full privileges to all functionalities.
	 * @param name New teacher's name
	 * @param password New teachers plain-text password
	 * @return A {@link UserTO} object.
	 * @throws Exception When there is not enough privileges to use this function. 
	 */
	UserTO createTeacher(String name, String password) throws Exception;

}
